package com.movie.ticket.sale.movieinterface.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ticket
 * @since 2020-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_perid")
public class TPerid implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 场次表/排片
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer auditoriumId;

    private Integer movieId;

    /**
     * 开始时间
     */
    private LocalDate startTime;

    /**
     * 影院方录入(优先):表单/文件  or  后台根据电影时长自动生成
     */
    private LocalDate endTime;

    /**
     * 价格
     */
    private Double price;

    /**
     * 座位信息 json格式
     */
    private String seatStram;

    /**
     * 0已结束 1正在进行 2未开始
     */
    private Integer state;


}
